Optimal. Leaf size=35 \[ \sqrt {5} \tanh ^{-1}\left (\frac {\sqrt {3 x+2}}{\sqrt {5}}\right )-\tan ^{-1}\left (\sqrt {3 x+2}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.210, Rules used = {700, 1130, 206, 204} \begin {gather*} \sqrt {5} \tanh ^{-1}\left (\frac {\sqrt {3 x+2}}{\sqrt {5}}\right )-\tan ^{-1}\left (\sqrt {3 x+2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 204
Rule 206
Rule 700
Rule 1130
Rubi steps
\begin {align*} \int \frac {\sqrt {2+3 x}}{1-x^2} \, dx &=6 \operatorname {Subst}\left (\int \frac {x^2}{5+4 x^2-x^4} \, dx,x,\sqrt {2+3 x}\right )\\ &=5 \operatorname {Subst}\left (\int \frac {1}{5-x^2} \, dx,x,\sqrt {2+3 x}\right )+\operatorname {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,\sqrt {2+3 x}\right )\\ &=-\tan ^{-1}\left (\sqrt {2+3 x}\right )+\sqrt {5} \tanh ^{-1}\left (\frac {\sqrt {2+3 x}}{\sqrt {5}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 35, normalized size = 1.00 \begin {gather*} \sqrt {5} \tanh ^{-1}\left (\frac {\sqrt {3 x+2}}{\sqrt {5}}\right )-\tan ^{-1}\left (\sqrt {3 x+2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.05, size = 35, normalized size = 1.00 \begin {gather*} \sqrt {5} \tanh ^{-1}\left (\frac {\sqrt {3 x+2}}{\sqrt {5}}\right )-\tan ^{-1}\left (\sqrt {3 x+2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 40, normalized size = 1.14 \begin {gather*} \frac {1}{2} \, \sqrt {5} \log \left (\frac {2 \, \sqrt {5} \sqrt {3 \, x + 2} + 3 \, x + 7}{x - 1}\right ) - \arctan \left (\sqrt {3 \, x + 2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.22, size = 48, normalized size = 1.37 \begin {gather*} -\frac {1}{2} \, \sqrt {5} \log \left (\frac {{\left | -2 \, \sqrt {5} + 2 \, \sqrt {3 \, x + 2} \right |}}{2 \, {\left (\sqrt {5} + \sqrt {3 \, x + 2}\right )}}\right ) - \arctan \left (\sqrt {3 \, x + 2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 29, normalized size = 0.83 \begin {gather*} \sqrt {5}\, \arctanh \left (\frac {\sqrt {3 x +2}\, \sqrt {5}}{5}\right )-\arctan \left (\sqrt {3 x +2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.99, size = 45, normalized size = 1.29 \begin {gather*} -\frac {1}{2} \, \sqrt {5} \log \left (-\frac {\sqrt {5} - \sqrt {3 \, x + 2}}{\sqrt {5} + \sqrt {3 \, x + 2}}\right ) - \arctan \left (\sqrt {3 \, x + 2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.40, size = 28, normalized size = 0.80 \begin {gather*} \sqrt {5}\,\mathrm {atanh}\left (\frac {\sqrt {5}\,\sqrt {3\,x+2}}{5}\right )-\mathrm {atan}\left (\sqrt {3\,x+2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 4.60, size = 70, normalized size = 2.00 \begin {gather*} - 5 \left (\begin {cases} - \frac {\sqrt {5} \operatorname {acoth}{\left (\frac {\sqrt {5} \sqrt {3 x + 2}}{5} \right )}}{5} & \text {for}\: 3 x + 2 > 5 \\- \frac {\sqrt {5} \operatorname {atanh}{\left (\frac {\sqrt {5} \sqrt {3 x + 2}}{5} \right )}}{5} & \text {for}\: 3 x + 2 < 5 \end {cases}\right ) - \operatorname {atan}{\left (\sqrt {3 x + 2} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________